<template>
  <div class="login-input">
    <input :type="this.ttype" :placeholder="this.tplaceholder" />
    <el-input v-model="input" placeholder="Please input" />
  </div>
</template>

<script>
export default {
  name: "UnitInput",
  props: {
    type: String,
    placeholder: String,
  },
  data: function () {
    return {
      ttype: this.type,
      tplaceholder: this.placeholder,
    };
  },
};
//
</script>
<style scoped>
.login-input {
}
</style>


 